package models

import "github.com/jinzhu/gorm"

type OrganizationActivityComment struct {
	gorm.Model
	OrganizationActivity   *OrganizationActivity `json:"organization_activity"`
	OrganizationActivityID uint                  `json:"organization_activity_id"`

	User   *User `json:"user"`
	UserID uint  `json:"user_id"`

	// 用户评论
	Comment string `json:"comment" gorm:"type:text"`

	OrganizationAdmin   *OrganizationAdmin `json:"organization_admin"`
	OrganizationAdminID uint               `json:"organization_admin_id"`

	// 管理员回复
	Replay string `json:"replay" gorm:"type:text"`
}
